Use engine API-compatible FIELD_ELEMENTS_PER_BLOB in minimal preset#3255
Use engine API-compatible FIELD_ELEMENTS_PER_BLOB in minimal preset#3255hwwhww merged 8 commits intoethereum:devfrom tersec:deneb-minimal-preset-4096-field-elements
FIELD_ELEMENTS_PER_BLOB in minimal preset#3255Conversation
The CI situation
BeforeWith this PR😭 Also, looks like it found a bug in Potential solutions to improve it1. Implement low-level field element computation and pairing helpers in
|
|
I am wondering if there is an option to run tests on CI with |
We don't have such an option. I think it requires at least:
|
I cherry-picked #3256 to fix this branch. After 30min, we got:
I want to add that, we've also skipped more than 100 |
|
Kev has now implemented an interface for arkworks: https://pypi.org/project/py-arkworks-bls12381/ |
|
From a discussion with @hwwhww another option to consider is defining The downside of this approach is an overhead of keeping |
|
Before resorting to separate If this is an optimization issue which can be solved by optimizing the test generation sufficiently, then that's cleaner in general, rather than allowing sort of incidental complexity to ramify out into the specs. |
|
I merged the |
|
Deneb/Cancun is still on track to launch with a broken If it's truly the case that generating test vectors for this is that much of an imposition, it should perhaps be cause to reflect on the protocol more broadly; test vectors would in that situation be a downstream effect, not cause. |
|
I support this PR, we rely on minimal spec presets for a large part of our testing, and this issue is blocking our entire testing pipeline for deneb |
|
Hey @hwwhww . Thanks for looking into this. Before we commit to removing EDIT: For some context, running the |
It now creates 6 random proofs instead of all 4096.
Thanks for the explanation! I added a commit to this PR which revives Hoping that performance is looking better now. |
hwwhww
left a comment
There was a problem hiding this comment.
I confirmed that testgen works fine with this PR. I hope to get approvals from other maintainers too, before merging it.
In the meantime, I will go add the official trusted setups based on this PR so we don't need to create a minimal preset version.


https://github.com/ethereum/execution-apis/blob/main/src/engine/experimental/blob-extension.md#blobsbundlev1 notes
This corresponds with the mainnet preset, but not the minimal preset. This renders the minimal preset Cancun-engine-API incompatible.